<?php
class investigate_record
{
    private $db;
    private $table;

    public function __construct() {
        global $db;
        $this->db = &$db;
        $this->table = DB_PRE.'investigate_record';
    }

    /**
	 * 添加记录表信息
	 *
	 * @param ARRAY() $data
	 * @return 	INT or FALSE
	 */
    public function add( $data )
    {
        $params = $data;
        $res = $this->db->insert( $this->table, $params );
		return $res;
    }
}
?>
